package com.huang.community.service;
import com.huang.community.pojo.DiscussPost;
import com.huang.community.Entity.SearchResult;
import java.io.IOException;


public interface ElasticsearchService {
    public void saveDiscussPost(DiscussPost post);
    public void deleteDiscussPost(int id);
    public SearchResult searcherDiscussPost(String keyword, int current, int limit)throws IOException;

}
